package com.xnyzc.lhy.task.fegin.didi;

import com.xnyzc.lhy.common.entity.DiDiRv;
import com.xnyzc.lhy.common.entity.Rv;
import com.xnyzc.lhy.common.entity.netty.StriveCallbackParam;
import com.xnyzc.lhy.order.entity.param.synchronization.DriverSingleSynchronousParam;
import com.xnyzc.lhy.order.entity.param.synchronization.LocationSyncParam;
import com.xnyzc.lhy.order.entity.param.synchronization.RealtimeFeeSyncParam;
import com.xnyzc.lhy.order.entity.param.synchronization.StatusCallbackParam;
import com.xnyzc.lhy.order.entity.task.CloseOrderParam;
import com.xnyzc.lhy.order.entity.task.pay.PayInfo;
import com.xnyzc.lhy.task.fallback.didi.DidiServiceFallback;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "${feign.applicationName.didi}", fallback = DidiServiceFallback.class)
public interface IDidiService {

    /**
     * 调取滴滴司机状态同步
     *
     * @param statusCallbackParam 价格信息
     */
    @PostMapping("oa/order/status/statusSync")
    Rv statusCallback(@ApiParam(name = "statusCallbackParam", value = "司机状态信息") @RequestBody StatusCallbackParam statusCallbackParam);

    @PostMapping("oa/didi/cityInfo/refreshCityInfo")
    void refreshCityInfo();


}
